package mhwi.cards;

import com.megacrit.cardcrawl.cards.AbstractCard;
import com.megacrit.cardcrawl.characters.AbstractPlayer;
import com.megacrit.cardcrawl.monsters.AbstractMonster;
import mhwi.helper.ModHelper;
import mhwi.powers.ShouDaoPower;

public class ShouDaoCard extends HunterTemplateCard {
    public ShouDaoCard(String ID, String NAME, String IMG_PATH, int COST, String DESCRIPTION,
                     AbstractCard.CardType TYPE, AbstractCard.CardColor COLOR, AbstractCard.CardRarity RARITY, AbstractCard.CardTarget TARGET) {
        super(ID, NAME, IMG_PATH, COST, DESCRIPTION, TYPE, COLOR, RARITY, TARGET);
    }

    public ShouDaoCard(String ID, String NAME, String IMG_PATH, int COST, String DESCRIPTION,
                       AbstractCard.CardType TYPE, AbstractCard.CardRarity RARITY, AbstractCard.CardTarget TARGET) {
        super(ID, NAME, IMG_PATH, COST, DESCRIPTION, TYPE, RARITY, TARGET);
    }

    @Override
    public boolean canUse(AbstractPlayer p, AbstractMonster m) {
        return ModHelper.hasPowers(ShouDaoPower.POWER_ID);
    }
}
